package com.itcncp.wechat.app.dao.mapper;

import com.itcncp.wechat.app.dao.model.ItcsRoadInfo;
import com.itcncp.wechat.app.dao.model.ItcsRoadInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItcsRoadInfoMapper {
    long countByExample(ItcsRoadInfoExample example);

    int deleteByExample(ItcsRoadInfoExample example);

    int deleteByPrimaryKey(String tollRoadId);

    int insert(ItcsRoadInfo record);

    int insertSelective(ItcsRoadInfo record);

    List<ItcsRoadInfo> selectByExample(ItcsRoadInfoExample example);

    ItcsRoadInfo selectByPrimaryKey(String tollRoadId);

    int updateByExampleSelective(@Param("record") ItcsRoadInfo record, @Param("example") ItcsRoadInfoExample example);

    int updateByExample(@Param("record") ItcsRoadInfo record, @Param("example") ItcsRoadInfoExample example);

    int updateByPrimaryKeySelective(ItcsRoadInfo record);

    int updateByPrimaryKey(ItcsRoadInfo record);
}